export const arcbarOption = {
	color: [],
	padding: undefined,
	title: {
		name: "0",
		fontSize: 14,
		color: "#3361F0"
	},
	subtitle: {
		name: "",
		fontSize: 1,
		color: "#666666"
	},
	extra: {
		arcbar: {
			type: "circle",
			width: 6,
			backgroundColor: "#E9E9E9",
			startAngle: 1.5,
			endAngle: 0.25,
			gap: 2
		}
	}
}

export const getColumnOpts = () => ({
	color: ["#1890FF"],
	padding: [15, 15, 0, 5],
	enableScroll: true,
	enableMarkLine: true,
	legend: {},
	xAxis: {
		disableGrid: true,
		itemCount: 6,
		scrollShow: true, //新增是否显示滚动条，默认false
		scrollAlign: 'left', //滚动条初始位置
		scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF
		scrollColor: '#DEE7F7', //默认为 #A6A6A6
	},
	yAxis: {
		disableGrid: false,
		gridType: "dash",
		data: [{
			min: 0,
			unit: 'ml'
		}]
	},
	extra: {
		column: {
			type: "group",
			width: 12,
			activeBgColor: "#000000",
			activeBgOpacity: 0.08,
			seriesGap: 5,
			barBorderRadius: [
				16,
				16,
				16,
				16
			]
		},
		// markLine: {
		// 	data: [{
		// 		value: 21,
		// 		showLabel: true
		// 	}]
		// }
	},
})